package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.dto.QueryPage;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

/**
 * @Description NursingService
 * @Author fy
 * @Date 2025-05-07  19:54
 */
public interface NursingProjectService {
    /**
     * 分页条件查询护理项目
     * @param
     * @return
     */
    PageResponse<NursingProjectVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 新增护理项目
     */

    void addNursingProject(NursingProjectDto nursingProjectDto);

    /**
     * 根据id查询护理项目
     * @param id
     * @return
     */
    NursingProjectVo getNursingProjectById(Long id);

    void updateNursingProject(NursingProjectDto nursingProjectDto);

    void deleteNursingProject(Long id);

    /**
     * 根据id修改护理项目状态
     * @param id
     */
    void updateStatus(Long id);

    /**
     * 查询所有护理项目
     * @return
     */
    List<NursingProjectVo> getAllNursingProject();

}
